<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        #app {
            padding: 80px 15px 30px;
        }

        .title {
            margin-bottom: 20px;
        }

        .inputbox input {
            font-size: 16px;
            margin-bottom: 15px;
            width: 100%;
            border: none;
            border-bottom: 1px solid #f5f5f5;
            outline: none;
            padding: 8px 0;
        }

        .deng {
            margin: 50px 0 50px;
            padding: 0 6px;
        }

        .deng button {
            height: 40px;
            width: 100%;
            border-radius: 20px;
            color: #666;
            background-color: #f5f5f5;
            border: none;
            margin-bottom: 10px;
        }

        .deng .inphon {
            display: flex;
            justify-content: space-between;
        }

        .color {
            color: skyblue;
        }

        .footer {
            font-size: 12px;
            margin-top: 220px;
            padding: 8px;
        }

        .footer input {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 8px;
        }
    </style>
</head>

<body>
    <div id="app">
        <!-- 标题 -->
        <div class="title">
            <h2>密码登录</h2>
        </div>
        <!-- 输入框 -->
        <div class="inputbox">
            <input type="text" v-model="id" placeholder="手机/用户名">
            <input type="password" v-model="pwd" placeholder="密码 ">
        </div>
        <!-- 登录按钮 -->
        <div class="deng">
            <div class="btn">
                <button @click="login">登录</button>
            </div>
            <div class="inphon">
                <span class="color">手机号登录</span>
                <span class="color">忘记密码</span>
            </div>
        </div>
        <!-- 复选框 -->
        <div class="footer">
            <input type="checkbox"><span>以阅读并同意</span><span class="color">《用户服务协议》</span><span>、</span><span
                class="color">《隐私政策》</span>
        </div>
    </div>
</body>

</html>
<script src="vue-2.5.21.js"></script>
<script src="登录.js"></script>